package com.czmh.etc.onlinepubsys.request.cmg;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright (C), 2023
 *
 * @Author: lyk
 * Date: 2023/7/3 17:38
 * FileName: NewGetTokenRequest
 * Description:
 */
@ApiModel("招商局-获取授权访问token（新）")
@Data
public class NewGetTokenRequest {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    @JSONField(serialize = false)
    private String userId; //用户ID

    @ApiModelProperty(notes = "申请访问业务编码,wxsign:微信签约", required = true)
    private String businessCode;

    @ApiModelProperty(notes = "业务流水号,SPI合作服务商定义业务流水号,规则:渠道号+渠道方唯一编码", required = true)
    private String businessFlowNo;

    @ApiModelProperty(notes = "用户手机号", required = true)
    private String tel;

    @ApiModelProperty(notes = "时间戳", hidden = true)
    private Long time;

    @ApiModelProperty(notes = "跳转渠道号", required = true)
    private String toAccessNo;
}
